import platform from "../utils/platform";
import { windowConfig } from "./tools";
import icon from '../../../resources/icon.png?asset'

export const winConfig = {
    main:{
        ...windowConfig,
        width: 900,
        height: 670,
        show: false,
        // resizable:false,
        autoHideMenuBar: true,
        ...(platform.isLinux ? { icon } : {}),
       url:'/pages/main/index.html',
    },
    guessNum:{
        ...windowConfig,
        width:300,
        height:400,
        show: false,
        resizable:false,
        autoHideMenuBar: true,
        url:'/pages/guessNum/index.html',
    },
    nickNames:{
        ...windowConfig,
        width:400,
        height:420,
        show: false,
        resizable:false,
        autoHideMenuBar: true,
        url:'/pages/nickNames/index.html',
    }
}